﻿<%@ Page Title="Troca de senha" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="TrocarSenha.aspx.cs" Inherits="TCC_Hotel.Apresentacao.Login.TrocarSenha" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 206px;
        }
    </style>
   <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:Label ID="lblAviso2" runat="server" Text="- Os campos com * são obrigatórios"
            ForeColor="Red"></asp:Label>
    </div>
    <p class="title-telas">
        Trocar senha do usuário
        <asp:Label ID="lblUsuario" runat="server"></asp:Label>
    </p>
    <div style="margin-bottom: 0px">
         <fieldset>
            <legend id="legend3" runat="server">
                <asp:Label ID="Label3" runat="server" Text="Troca de senha"></asp:Label>
            </legend>
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblSenhaAtual" runat="server" Text="Senha atual:"></asp:Label>
                        <asp:Label ID="lblValidacaoSenhaAtual" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox ID="txtSenhaAtual" runat="server" Width="150px" MaxLength="50" 
                            TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblNovaSenha" runat="server" Text="Nova senha:"></asp:Label>
                        <asp:Label ID="lblValidacaoNovaSenha" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox ID="txtNovaSenha" runat="server" Width="150px" MaxLength="50" 
                            TextMode="Password"></asp:TextBox>
                        <asp:PasswordStrength ID="txtSenha_PasswordStrength" runat="server" DisplayPosition="AboveRight"
                            Enabled="True" PrefixText="Força: " TargetControlID="txtNovaSenha">
                        </asp:PasswordStrength>
                    </td>
                    <td>
                        <asp:Label ID="lblRepitaSenha" runat="server" Text="Confirmar nova senha:"></asp:Label>
                        <asp:Label ID="lblValidacaoRepitaNovaSenha" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox ID="txtRepitaSenha" runat="server" Width="150px" MaxLength="50" 
                            TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div align="left" style="width: 55%; float: left">
            <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="100px" OnClick="btnSalvar_Click" />
        </div>
    </div>
</asp:Content>
